using UnityEngine;
using QFramework;

namespace ProjectSurvivor
{
	public partial class CollectableArea : ViewController//玩家的一个圆形检测区域
	{
		void Start()
		{
			Global.CollectableArea.RegisterWithInitValue(range=>
			{
				GetComponent<CircleCollider2D>().radius=range;
			}).UnRegisterWhenGameObjectDestroyed(gameObject);
		}
	}
}
